package com.cloud.enums;

/**
 * 公告类型枚举
 *
 * @author yzj
 */
public enum NoticeType {

    NOTICE(1, "通知"),
    ANNOUNCEMENT(2, "公告"),
    TASK_NOTICE(3, "任务"),
    EARLY_WARNING(4, "预警");

    private final Integer code;
    private final String info;

    NoticeType(Integer code, String info) {
        this.code = code;
        this.info = info;
    }

    public Integer getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }
}
